package com.example.studentmanagement2.service;

import com.example.studentmanagement2.model.Student;
import com.example.studentmanagement2.model.Teacher;

import java.util.List;
import java.util.Optional;

public interface TeacherService {
    List<Teacher> getAllTeachers();
    Optional<Teacher> getTeacherById(String id);
    Teacher addTeacher(Teacher teacher);
    Teacher updateTeacher(String originalId,Teacher teacher);
    void deleteTeacher(String id);
    List<Teacher> searchTeachers(String keyword);

}
